{% extends "base.html" %} 
{% block head %}
<script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js" type="text/javascript"></script>
{% endblock %}
 
{% block content %}
   <h1>Not Complete but monkeys are coding...</h1>
   <h3>Welcome {{ username }}, Please <a href="{{login_url}}">login</a> to see your own health profile </h3>  

   <div id="feedControl">Loading...</div>
   
   <br>
   <hr>
   <script type="text/javascript"> 
     var options = {numResults : 6, fadeOutTime : 500 };
     function loadFeedControl() {
       var feed  = "http://health.yahoo.com/news/rss/health/;_ylt=AlumnnJeCTrp0sRuoMQ.VqCmxbAB";
       var fg = new GFdynamicFeedControl(feed, "feedControl", options);
     }
     google.load("feeds", "1");
     google.setOnLoadCallback(loadFeedControl);
   </script>
  
{% endblock %} 
     
